#include <bits/stdc++.h>
using namespace std;
const int N = 1e5+10;
int n, X, Y, A, B, hurt = -INT_MAX, cnt = INT_MAX, c[N];
bool win = false;
int mem[N][3][2];

void dfs(int type, int step, int hstep)
{
	if (mem[step][type][0] == 0) goto nxt;
    else if (mem[step][type][0] == 1)
    {
        if (step + mem[step][type][1] < cnt)
        {
    		cnt = step + mem[step][type][1];
			cout << "\nMEM STEP" << " STEP " << step << "DATA" << mem[step][type][1] << " NOW " << cnt;
		}
		return;
	} else if (mem[step][type][0] == -1) {
		if (hstep + mem[step][type][1] > hurt)
		{
			hurt = hstep + mem[step][type][1];
			cout << "\nMEM HURT" << " STEP " << step << " DATA " << mem[step][type][1] << " NOW " << hurt;
		}
		return;
	}
	nxt:if (B <= 0)
	{
		cout << " \nWIN " << step;
		cnt = min(cnt, step);
		win = true;
		mem[step][type][0] = 1;
		mem[step][type][1] = cnt;
		cout << "\nREC " << " STEP " << step << " TYPE " << type << " WIN " << cnt;
		return;
	}
	if (step >= cnt && win) return;
	if (step > n || A <= 0)
	{
		if (step > n) cout << " \nOVER " << step;
		else cout << " \nDEAD " << step;
		if (win) return;
		else hurt = max(hurt, hstep);
		mem[step][type][0] = -1;
		mem[step][type][1] = hurt;
		cout << "\nREC " << " STEP " << step << " TYPE " << type << " LOSE " << hurt;
		return;
	}
	if (type == 1)
	{
		hstep += X; 
		B -= X;
	} else if (type == 2) A += c[step];
	else if (type == 3) A += Y;
	A -= c[step]; step ++;
	cout << "\nDFS " << step << " TYPE " << type << " HURT " << hstep << " A " << A << " B " << B;
	dfs(1, step, hstep); dfs(2, step, hstep); dfs(3, step, hstep);
	step--;
	if (type == 1)
	{
		hstep -= X; 
		B += X;
	} else if (type == 2) A -= c[step];
	else if (type == 3) A -= Y;
	A += c[step];
	cout << "\nDFS BACK " << step << " TYPE " << type << " HURT " << hstep << " A " << A << " B " << B;
}

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	memset(mem, 0, sizeof(mem));
//	freopen("end.in", "r", stdin);
//	freopen("end.out", "w", stdout);
	cin >> n >> X >> Y >> A >> B;
	for (int i = 0; i < n; i++) cin >> c[i];
	dfs(1, 0, 0);
	if (win) cout << "Win\n" << cnt;
	else cout << "Lose\n" << hurt;
}